<?php
/**
* Trendy Social Share - Joomla Module
* Version			: 1.1
* Created by		: RBO Team > Project::: RumahBelanja.com, Demo::: MedicRoom.com
* Created on		: v1.0 - December 19th, 2010
* Updated			: v1.1 - January 4th, 2011
* Package			: Joomla 1.6.x
* License			: http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
$baseurl 	= JURI::base();

//Get Params
$global_style	= $params->get('global_style');
?>
<link rel="stylesheet" href="<?php echo $baseurl; ?>modules/mod_trendysocialshare/css/style.css" />

<?php if ($global_style == 0){ ?>
	<?php if (($params->get( 'digg_style')) == 0) { ?>	
		<style type="text/css">	
			.db-wrapper .db-compact { width:85px;}
		</style>
	<?php } ?>	
	
	<table class="socialshare_horiz"><tr>
		<?php if (($params->get( 'get_tweet')) == 0) {?><td class="socialshare_horiz"><?php echo $tweet_base; ?></td><?php }?>
		<?php if (($params->get( 'get_digg')) == 0) {?><td class="socialshare_horiz"><?php echo $digg_base; ?></td><?php }?>
		<?php if (($params->get( 'get_ybuzz')) == 0) {?><td class="socialshare_horiz"><?php echo $ybuzz_base; ?></td><?php }?>
		<?php if (($params->get( 'get_gbuzz')) == 0) {?><td class="socialshare_horiz"><?php echo $gbuzz_base; ?></td><?php }?>
		<?php if (($params->get( 'get_facebook')) == 0) {?><td class="socialshare_horiz"><?php echo $facebook_base; ?></td><?php }?>
	</tr></table> 
<?php } else { ?>
	<table class="socialshare_verti">
		<?php if (($params->get( 'get_tweet')) == 0) {?><tr><td class="socialshare_verti"><?php echo $tweet_base; ?></td></tr><?php }?>
		<?php if (($params->get( 'get_digg')) == 0) {?><tr><td class="socialshare_verti"><?php echo $digg_base; ?></td></tr><?php }?>
		<?php if (($params->get( 'get_ybuzz')) == 0) {?><tr><td class="socialshare_verti"><?php echo $ybuzz_base; ?></td></tr><?php }?>
		<?php if (($params->get( 'get_gbuzz')) == 0) {?><tr><td class="socialshare_verti"><?php echo $gbuzz_base; ?></td></tr><?php }?>
		<?php if (($params->get( 'get_facebook')) == 0) {?><tr><td class="socialshare_verti"><?php echo $facebook_base; ?></td></tr><?php }?>
	</table> 
<?php } ?>